"""
日志配置统一入口
"""
import os
import sys

# sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
log_type = "file"
if log_type == 'db':
    from .logger_config_db import setup_logger
else:
    from .logger_config_file import setup_logger

# 导出 setup_logger 函数
__all__ = ['setup_logger']

logger = setup_logger(__name__)